home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / sgml-base.preinst < prev    next >
Text File  |  2004-10-26  |  998b  |  36 lines

  1. #!/bin/sh
  2. ## ----------------------------------------------------------------------
  3. ## debian/preinst : preinstallation script for sgml-base
  4. ## ----------------------------------------------------------------------
  5.  
  6. ## ----------------------------------------------------------------------
  7. set -e
  8.  
  9. ## ----------------------------------------------------------------------
  10. if [ "$1" = "install" -o "$1" = "upgrade" ]
  11. then
  12.  
  13.     ## ------------------------------------------------------------------
  14.     ## create /var/lib/sgml-base
  15.     if [ ! -d /var/lib/sgml-base ]
  16.     then
  17.     mkdir /var/lib/sgml-base 2>/dev/null
  18.     fi
  19.  
  20.     ## ------------------------------------------------------------------
  21.     ## create /etc/sgml
  22.     if [ ! -d /etc/sgml ]
  23.     then
  24.     mkdir /etc/sgml 2>/dev/null
  25.     fi
  26.  
  27. fi
  28.  
  29. ## ---------------------------------------------------------------------- 
  30. ## automatically generated debhelper commands
  31.  
  32.  
  33. exit 0
  34.  
  35. ## ----------------------------------------------------------------------
  36.